package org.bookie.mtest.framework;

import java.io.IOException;

import org.xml.sax.SAXException;

import com.meterware.httpunit.WebResponse;
import com.meterware.httpunit.WebTable;

public class ResultsPage extends Page {

	public ResultsPage(WebResponse response) throws IOException, SAXException {
		super(response);
	}
	
	public WebTable getResultsTable() throws SAXException{
		return resp.getTableWithID("resultsTable");
	}
	
	public Form getPeriodForm() throws SAXException, IOException{
		return getForm("periodForm");
	}
	
	public Form getCategoryForm() throws SAXException, IOException{
		return getForm("categoryForm");
	}

}
